import Vue from 'vue'
import App from './App'
import store from './store'
import Config from './utils/Config.js'
import Utils from './utils/utils.js'
import request from './utils/request.js'

import navBar from './components/nav-bar.vue'
import wIcon from './components/w-icon.vue'

Vue.prototype.$store = store
Vue.prototype.$https=request.httpReq
Vue.prototype.$showToast=Utils.showToast
Vue.prototype.$imgurl = Config.imgUrl
Vue.config.productionTip = false

Vue.component('nav-bar',navBar)
Vue.component('w-icon',wIcon)
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
